<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<!DOCTYPE html>
<html>
<head>
<title>查看会话id</title>
</head>
<body>
  <p>查看request对象的会话id</p>
  <p><%=request.getRequestedSessionId()%></p>
  <p>查看session对象的id</p>
  <p><%=session.getId()%></p>
  <p>如遇到会话id不一致的情况，请重新访问此页面</p>
</body>
</html>
